#define _CRT_SECURE_NO_WARNINGS  1

using namespace std;
#include"priority_queue.h"

void test_1()
{

	int arr[] = { 1,2,3,4,5,7,9,-1 };
	lsh::priority_queue<int> pq(arr, arr + 8);
	pq.push(-2);
	pq.push(-8);
	pq.push(5);
	pq.push(1);
	pq.pop();
	cout << pq.top();

}



int main()
{
	test_1();
}